package com.wisemoresystem.seal.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;
import org.ne.framework.data.model.DbModel;

/**
 * 刻章 登记 表
 * 
 * @author 张朋朋
 *
 */

@Entity
public class t_seal_register implements DbModel {

	@Transient
	private static final long serialVersionUID = 1L;

	@Id
	@GeneratedValue(generator = "my_generator")
	@GenericGenerator(name = "my_generator", strategy = "uuid")
	@Column(length = 32)
	private String _id;
	private String seal_plan_id;

	private String flag;// 验收状态:符合 or 不符合

	private String factory;// 刻章厂

	private String note;// 备注

	private String user_id;// 操作人员
	private String bank_id;// 登记银行

	private int status;
	private Timestamp created = new Timestamp(System.currentTimeMillis());

	// ======= get / set ()=================
	public String get_id() {
		return _id;
	}

	public void set_id(String _id) {
		this._id = _id;
	}

	public String getSeal_plan_id() {
		return seal_plan_id;
	}

	public void setSeal_plan_id(String seal_plan_id) {
		this.seal_plan_id = seal_plan_id;
	}

	public String getFlag() {
		return flag;
	}

	public void setFlag(String flag) {
		this.flag = flag;
	}

	public String getFactory() {
		return factory;
	}

	public void setFactory(String factory) {
		this.factory = factory;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public String getUser_id() {
		return user_id;
	}

	public void setUser_id(String user_id) {
		this.user_id = user_id;
	}

	public String getBank_id() {
		return bank_id;
	}

	public void setBank_id(String bank_id) {
		this.bank_id = bank_id;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public Timestamp getCreated() {
		return created;
	}

	public void setCreated(Timestamp created) {
		this.created = created;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
